package com.android.fitcontrol.bean;

public class Many {
	
	public final static String TABLE_NAME = "many";
	
	public final static String _ID = "_id";
	public final static String PLANNED_COUNT = "plannedCount";
	public final static String PLANNED_WEIGHT = "plannedWeight";
	public final static String DONE_COUNT = "doneCount";
	public final static String DONE_WEIGHT = "doneWeight";
	public final static String EXERCISE_ID = "exercise_ID";
	
	public final static int NUM_ID = 0;
	public final static int NUM_PLANNED_COUNT = 1;
	public final static int NUM_PLANNED_WEIGHT = 2;
	public final static int NUM_DONE_COUNT = 3;
	public final static int NUM_DONE_WEIGHT = 4;
	public final static int NUM_EXERCISE_ID = 5;
	
	private int _id;
	private int plannedCount;
	private float plannedWeight;
	private int doneCount;
	private float doneWeight;
	
	public int getPlannedCount() {
		return plannedCount;
	}
	public void setPlannedCount(int plannedCount) {
		this.plannedCount = plannedCount;
	}
	public float getPlannedWeight() {
		return plannedWeight;
	}
	public void setPlannedWeight(float plannedWeight) {
		this.plannedWeight = plannedWeight;
	}
	public int getDoneCount() {
		return doneCount;
	}
	public void setDoneCount(int doneCount) {
		this.doneCount = doneCount;
	}
	public float getDoneWeight() {
		return doneWeight;
	}
	public void setDoneWeight(float doneWeight) {
		this.doneWeight = doneWeight;
	}
	private int exercise_ID;
	
	public int get_ID() {
		return this._id;
	}
	public void set_ID(int set_ID) {
		this._id = set_ID;
	}
	public int getExercise_ID() {
		return this.exercise_ID;
	}
	public void setExercise_ID(int exersice_ID) {
		this.exercise_ID = exersice_ID;
	}
	public void mergeIntoObject(Many many){
		this.set_ID(many.get_ID());
		this.setPlannedCount(many.getPlannedCount());
		this.setPlannedWeight(many.getPlannedWeight());
		this.setDoneCount(many.getDoneCount());
		this.setDoneWeight(many.getDoneWeight());
		this.setExercise_ID(many.getExercise_ID());
	}
	
}
